Evaluating Two Loop Transformations for Reducing Multiple Writer False Sharing
نویسندگان
چکیده
To simplify the programming of hierarchical and distributed-memory parallel systems, the notion of shared virtual memory (SVM) has been proposed. This abstraction provides the programmer with the illusion of a at global address space and coherence is maintained at the page level. The success of this abstraction depends on the eeciency of page management. This in turn depends on the eeciency of handling false sharing and the resulting ping-pong eeects that it can cause. In this paper, we evaluate two loop transformations for attacking this problem. The rst is a simple, new, compile-time technique for reducing the ping-pong eeects that result from multiple-writer false sharing. The second is our previously-proposed technique for eliminating multiple-writer false sharing itself. These techniques have been implemented in the Fortran-S compiler, which generates code that runs on the iPSC/2 under the KOAN SVM. Preliminary performance results are presented.
منابع مشابه
Reducing False Sharing and Improving Spatial Locality in a Unified Compilation Framework
The performance of applications on large shared-memory multiprocessors with coherent caches depends on the interaction between the granularity of data sharing, the size of the coherence unit, and the spatial locality exhibited by the applications, in addition to the amount of parallelism in the applications. Large coherence units are helpful in exploiting spatial locality, but worsen the effect...
متن کاملAdjusting Single-/Multi-writer to False Sharing in Software DSMs
Two approaches are employed to deal with false sharing in software DSMs. Although single-writer is simple, it causes the ping-pong effect of the data page thrashing. In other hand, multiple-writer approach, which is eeective in re-duing the amount of page transfer, suuers from the high cost. This paper proposes a new approach to handle multiple writers in software DSMs called limited multiple-w...
متن کاملHidden Costs in Avoiding False Sharing in Software DSMs
Page based software DSMs experience high degrees of false sharing especially in irregular applications with fine grain sharing granularity. The overheads due to false sharing is considered to be the dominant factor limiting the performance of software DSMs. Several approaches have been proposed in the literature to reduce/eliminate false sharing. In this paper, we evaluate two of these approach...
متن کاملPerformance analysis of methods that overcome false sharing effects in software DSMs
Page-based software DSMs experience high degrees of false sharing especially in irregular applications with fine grain sharing granularity. The overheads due to false sharing is considered to be a dominant factor limiting the performance of software DSMs. Several approaches have been proposed in the literature to reduce/eliminate false sharing. In this paper, we evaluate two of these approaches...
متن کاملSoftware DSM Protocols that Adapt between Single Writer and Multiple Writer
We present two software DSM protocols that dy namically adapt between a single writer SW and a multiple writer MW protocol based on the appli cation s sharing patterns The rst protocol WFS adapts based on write write false sharing the second WFS WG based on a combination of write write false sharing and write granularity The adaptation is automatic No user or compiler information is needed The ...
متن کامل